/*
 * $Id$
 */
package corejs.rt;


import java.util.Collections;
import java.util.Map;

public class Print extends Invocable {
   
   public String[] getArgumentNames() {
      return new String[]{"!arg"};
   }

   @Override
   public Value invoke(final ExecutionContext ec) {
      System.out.println(ec.invoke(ec.get("!arg"), "toString"));
      return Undefined.UNDEFINED;
   }
}
